package com.shyroke.util;

import java.util.ArrayList;
import java.util.List;

public class StringUtil {

	public static List<Double> convertList(String value) {
		List<Double> valueList = new ArrayList<>();
		
		String value1 = value.replace("<", "");
		String value2 = value1.replace(">", "");
		String[] valueStrArr = value2.split(",");
		
		for(String str : valueStrArr) {
			valueList.add(Double.valueOf(str));
		}
		
		return valueList;
	}

//	public static void main(String[] args) {
//		List<Double> double2=StringUtil.convertList("<0.5,0.9,0.7>");
//		System.out.println(double2.get(0));
//		System.out.println(double2.get(1));
//		System.out.println(double2.get(2));
//	}
//	
	
}
